package com.yunc.modules.sys.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yunc.base.SuperMapper;
import com.yunc.modules.sys.entity.SysLog;
import com.yunc.modules.sys.entity.dto.SysLogDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 系统日志
 *
 * @author tao cong cong
 * @create 2018/2/4 下午6:54
 */
@Mapper
public interface SysLogMapper extends SuperMapper<SysLog> {

    List<SysLogDTO> listEntity(SysLog sysLog);

    List<SysLogDTO> listEntityDate(SysLog sysLog);

    List<SysLog> pageInfo(Page<SysLog> page, @Param("sysLog") SysLog sysLog);
}
